import java.util.Scanner;

public class methedtest {
    public static void main(String[] args) {
        System.out.println("请输入两个数:");
        Scanner sc = new Scanner(System.in);

        int a = sc.nextInt();
        int b = sc.nextInt();
        int c = getSum(a,b);
        System.out.println(a+" + "+b+"和为"+c);
    }
    public static int getSum(int num1,int num2){

        int sum = num1+num2;
        return sum;
    }
}
